/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.uc.domain.req;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 *
 *
 * @author zsp
 * @date 2020-8-19
 */
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
public class GetUserByNameRequest {

    @NotBlank
    /**
     * 用户名
     */
    private String userName;

    /**
     * 是否查询角色
     */
    private boolean withRole;
    /**
     * 是否查询资源
     */
    private boolean withResource;
    /**
     * 是否查询部门
     */
    private boolean withUserGroup;


}
